package com.ticket.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("ticket_orders")
public class TicketOrder {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private Long matchId;
    private Long sectionId;
    private Integer ticketNumber;
    private BigDecimal totalAmount;
    private String status;
    private String name;
    private String phone;
    private String email;
    private LocalDateTime createdAt;
    private LocalDateTime paidAt;
}
